/* order_pkg/pages/orderdetail/orderdetail.wxss */
Page {
    background-color: #fafafa;
}

.banner {
    display: flex;
    align-items: center;
    padding-left: 30rpx;
    box-sizing: border-box;
    height: 280rpx;
    background-color: #e8c269;

    .img {
        image {
            width: 128rpx;
            height: 128rpx;
        }
    }

    .text {
        margin-left: 20rpx;
        font-size: 38rpx;
        color: #fff;
        font-weight: 600;
    }
}

.address {
    margin: -40rpx auto;
    padding: 24rpx;
    box-sizing: border-box;
    width: 704rpx;
    height: 132rpx;
    background-color: #fff;
    box-shadow: 0rpx 2rpx 4rpx 0rpx rgba(0,0,0,0.05);
    border-radius: 16rpx;

    .name {
        font-size: 28rpx;
        color: #333333;
        line-height: 44rpx;
        font-weight: 400;

        .number {
            margin-left: 16rpx;
        }
    }

    .address-detail {
        margin-top: 4rpx;
        font-size: 24rpx;
        color: #999999;
        line-height: 36rpx;
        font-weight: 400;
    }
}

.goods-box {
    margin-top: 64rpx;
    margin-left: 24rpx;
    width: 704rpx;
    background-color: #fff;
    padding: 30rpx;
    box-sizing: border-box;
    box-shadow: 0rpx 2rpx 4rpx 0rpx rgba(0,0,0,0.05);
    border-radius: 16rpx;
}

.goods {
    margin-top: 30rpx;
    display: flex;
    justify-content: space-between;

    .left {
        image {
            width: 180rpx;
            height: 180rpx;
        }
    }

    .mid-mid {
        flex: 1;
        margin-left: 16rpx;
        height: 80rpx;
        font-size: 28rpx;
        color: #303133;
        line-height: 40rpx;
        font-weight: 400;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .right {
        margin-left: 16rpx;
        font-size: 28rpx;
        color: #999;
        line-height: 40rpx;
        font-weight: 400;
        
    }
}

.order-text-box {
    width: 704rpx;
    margin-top: 22rpx;
    margin-left: 24rpx;
    padding: 24rpx;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0rpx 2rpx 4rpx 0rpx rgba(0,0,0,0.05);
    border-radius: 16rpx;

    .item {
        height: 75rpx;

        .left {
            font-size: 26rpx;
            color: #999;
            line-height: 75rpx;
            font-weight: 400;
        }

        .right {
            margin-left: 44rpx;
            font-size: 28rpx;
            color: #333;
            line-height: 75rpx;
            font-weight: 400;
        }

        .copy {
            display: inline-block;
            margin-left: 20rpx;
            width: 92rpx;
            height: 40rpx;
            border: 1rpx solid rgb(193, 193, 193);
            border-radius: 20rpx;
            text-align: center;
            font-size: 24rpx;
            line-height: 40rpx;
            color: #666;
            font-weight: 400;
        }
    }
}

.order-price-box {
    width: 704rpx;
    margin-top: 22rpx;
    margin-left: 24rpx;
    padding: 24rpx;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0rpx 2rpx 4rpx 0rpx rgba(0,0,0,0.05);
    border-radius: 16rpx;

    .item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 75rpx;

        .left {
            font-size: 26rpx;
            color: #999;
            font-weight: 400;
        }

        .right {
            font-size: 28rpx;
            color: #333333;
            font-weight: 400;
        }
    }

    .pay-total {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 75rpx;
        border-top: 2px solid  rgba(241,241,241,1);

        .black {
            font-size: 28rpx;
            color: #333;
            font-weight: 400;
        }

        .red {
            margin-left: 8rpx;
            font-size: 30rpx;
            color: #fa2209;
            font-weight: 400;
        }
    }
}

.margin {
    height: 140rpx;
}

.scroll {
    height: 100vh;
}

.order-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    bottom: 0;
    padding: 24rpx 30rpx;
    box-sizing: border-box;
    width: 750rpx;
    height: 108rpx;
    box-shadow: 0px -4rpx 40rpx 0px rgba(0,0,0,0.12);
    background-color: #fff;

    button {
        margin: 0;
        width: 164rpx;
        height: 60rpx;
        border: 1rpx solid rgba(168,168,168,1);
        background-color: #fff;
        border-radius: 30rpx;
        font-size: 28rpx;
        color: #383838;
        line-height: 60rpx;
        font-weight: 400;
    }
}